@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: black;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}
.background{
  background-image: url("../img/fondo.png");
  background-size: cover;
  background-position: 70% center;
  padding: 30px 5%;
  display: flex;
  flex-direction: column;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: clamp(24px, 4vw, 38px);
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 12px;
  margin-right: 12px;
  font-size: clamp(16px, 2vw, 22px);
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 40vh;
}

h1 {
  font-size: clamp(32px, 5vw, 65px);
}

/* ── SERVICIOS CARDS ── */
.servicios-cards {
  background: #fff;
  padding: 4rem 4%;
}

.sc-fila {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.sc-fila-top {
  justify-content: center;
}

.sc-fila-bottom {
  justify-content: center;
}

.sc-card {
  border: 2px solid #27124D;
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
}

.sc-fila-top .sc-card {
  width: 28%;
  min-height: 380px;
}

.sc-fila-bottom .sc-card {
  width: 28%;
  min-height: 380px;
}


.sc-card img {
  width: 15vh;
  height: 15vh;
  object-fit: contain;
}

.sc-card p {
  font-size: 1.6rem;
  color: #1a1a2e;
  line-height: 1.6;
}

.sc-card p strong {
  font-weight: 700;
}

@media (max-width: 900px) {
  .sc-fila {
    flex-direction: column;
  }

  .sc-fila-top .sc-card,
  .sc-fila-bottom .sc-card {
    width: 100%;
  }
}


/* ── NUESTROS SERVICIOS ── */
.nuestros-servicios {
  background: #27124D;
  padding:1em 4% 0;
}

.ns-titulo {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: #fff;
}
.ns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -200px;
  transform: translateY(45%);
}

.ns-card {
  background: #fff;
  border: 2px solid #746490;
  border-radius: 24px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  min-height: 0;
}
.ns-fondo-blanco {
  background: #fff;
  height: 30vh;
}
.ns-card img {
  width: clamp(40px, 8vw, 100px);
  height: clamp(40px, 8vw, 100px);
  object-fit: contain;
}


.ns-card h3 {
  font-size: clamp(0.9rem, 2vw, 2rem);
  font-weight: 700;
  color: #27124D;
  line-height: 1.2;
}

.ns-card p {
  font-size: clamp(0.75rem, 1.5vw, 1.6rem);
  color: #333;
  line-height: 1.6;
  flex: 1;
}

.ns-dot {
  display: block;
  width: 2vh;
  height: 2vh;
  border-radius: 50%;
  background: #2dbf9b;
  margin-top: 0.5rem;
}
/*
@media (max-width: 900px) {
  .ns-grid {
    grid-template-columns: 1fr;
  }
}*/


/* ── FOOTER ── */
.footer {
  background: #fff;
}

.footer-titulo {
  padding: 4rem 6% 3rem;
}

.footer-titulo h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 50rem);
  font-weight: 800;
  line-height: 1.1;
}

.ft-violeta {
  color: #27124D;
}

.ft-verde {
  color: #2dbf9b;
}

.footer-inferior {
  background: #27124D;
  padding: 3rem 6%;
  display: flex;
  flex-wrap: wrap;
  gap: 10rem;
  color: #fff;
}

.footer-col {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-logo-hr {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.footer-logo-evolution {
  width:25vh;
  height: auto;
}

.footer-logo-evolution p {
  font-size: 0.7rem;
  color: #CD6829;
  font-style: normal;
  letter-spacing: 0.05em;
  margin-top: -0.2rem;
}

.footer-col h4 {
  color: #CD6829;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-col p {
  font-size: 0.95rem;
  opacity: 0.9;
}





/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }

  .left, .right {
    width: 100%;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  nav a {
    margin-left: 0;
  }

  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}